package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 司机出行接单状态管理对象 travel_status
 *
 * @author trip
 * @date 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("travel_status")
public class TravelStatus extends BaseEntity implements Serializable{
private static final long serialVersionUID = 1L;

    /** 行程状态id */
            @Excel(name = "行程状态id")
        @TableId(value = "travel_status_id" ,type = IdType.AUTO)
        private Long travelStatusId;
    /** 司机id */
            @Excel(name = "司机id")
        private Long driverId;
    /** 车辆id */
            @Excel(name = "车辆id")
        private Long carId;
    /** 司机出车接单状态（-1下线 0在线 1空闲中 2接单中） */
            @Excel(name = "司机出车接单状态", readConverterExp = "-=1下线,0=在线,1=空闲中,2=接单中")
        private String status;
    /** 删除标志（0代表存在 2代表删除） */
            @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
        @TableLogic
        private String delFlag;
        }


